\begin{block}{\bf \clang{Fábrica de wrappers}{Wrapper factory}}
  \begin{columns}
    \begin{column}{.5\textwidth}
      \clang{A fábrica que possui um método para criar cada tipo de result set wrapper.}{The factory has one method for each type of result set wrapper.}
    \end{column}
    \begin{column}{.5\textwidth}
      \includegraphics[width=5.5cm]{../images/model/cursor-wrapper-factory}
    \end{column}
  \end{columns}
\end{block}


\begin{example}
{\small
\begin{verbatim}
ResultSet rs = ...
ICursorFactory factory = new CursorFactoryImpl(rs);

ResultSet wrapper = factory.createScrollUpdate();
wrapper.absolute(...);
wrapper.updateString(...,...);
wrapper.updateRow();
\end{verbatim}
}
\end{example}
